Feature-oriented Speciications
نویسنده
چکیده
A feature is a part or aspect of a speciication which a user perceives as having a self-contained functional role. In large speciications there are several problems that make the manipulation of features diicult: the part of the speciication describing a feature is widely distributed over the whole speciication, and features may interact in ways that are hard to predict. To overcome these problems, we aim to construct a feature-oriented speciication language which allows the speciier to talk explicitly about features and their possible interactions. In a feature oriented speciication language, a feature speciication should be a textual unit which is easy to understand in isolation, and easy to add, remove and respecify. However, a given feature cannot be applied to any speciication; it will impose certain minimal requirements of the speciication which must hold there for the feature to make sense. Thus, a feature will be deened as a parameterised theory where the parameter represents these minimal requirements of the speciication. Using the speciication of the system in question as the actual parameter, the signature of the speciication that results from adding the feature will be given by a pushout. Whenever we add a feature, some revision of the behaviour is needed. Therefore, to construct the result speciication we need some way to deal with the overriding of some axioms. This will be done by preferential semantics of defaults.
منابع مشابه
Fair Objects
The temporal logic of actions (TLA) provides operators to express liveness requirements in an abstract speciication model. TLA does not, however, provide high level composition mechanisms which are essential for synthesising and analysing complex behaviour. Contrastingly, the object oriented paradigm has proven itself in the development of structured speciications. However, most, if not all, of...
متن کاملReasoning and Synthesis in an Object-Oriented System
This paper considers the problem of providing an Object-Oriented (OO) system with reasoning and program synthesis abilities. We consider an object-oriented knowledge system in which methods are synthesized from speciications using an intuitionis-tic propositional calculus and a Proof-As-Program methodology. In order to support reasoning about some dynamic aspects of the OO system, we propose to...
متن کاملA Theory - Based RepresentationforObject - Oriented Domain
Formal software speciication has long been touted as a way to increase the quality and reliability of software; however, it remains an intricate, manually intensive activity. An alternative to using formal speciications directly is to translate graphically-based, semi-formal speciications into formal speciications. However, before this translation can take place, a formal deenition of basic obj...
متن کاملTranslating Object-z Speciications to Object-oriented Test Oracles Translating Object-z Speciications to Object-oriented Test Oracles
This paper describes the translation of Object-Z speciications of container classes to C++ test oracle classes. It presents a three-stage translation process and describes how the derived test oracles are integrated into the ClassBench testing framework. The method caters for object-oriented features such as inheritance and aggregation. Translation issues and limitations of the method are discu...
متن کاملReasonong about Classess in Object-Oriented Languages: Logical Models and Tools
A formal language ccsl is introduced for describing specii-cations of classes in object-oriented languages. We show how class speci-cations in ccsl can be translated into higher order logic. This allows us to reason about these speciications. In particular, it allows us (1) to describe (various) implementations of a particular class speciication, (2) to develop the logical theory of a speciic c...
متن کامل